NXP Semiconductors /LPC408x_7x /TIMER0 /EMR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as EMR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (EM0)EM0 0 (EM1)EM1 0 (EM2)EM2 0 (EM3)EM3 0 (DO_NOTHING_)EMC0 0 (DO_NOTHING_)EMC1 0 (DO_NOTHING_)EMC2 0 (DO_NOTHING_)EMC3 0RESERVED

EMC1=DO_NOTHING_, EMC3=DO_NOTHING_, EMC2=DO_NOTHING_, EMC0=DO_NOTHING_

Description

External Match Register. The EMR controls the external match pins.

Fields

EM0

External Match 0. When a match occurs between the TC and MR0, this bit can either toggle, go low, go high, or do nothing, depending on bits 5:4 of this register. This bit can be driven onto a MATn.0 pin, in a positive-logic manner (0 = low, 1 = high).

EM1

External Match 1. When a match occurs between the TC and MR1, this bit can either toggle, go low, go high, or do nothing, depending on bits 7:6 of this register. This bit can be driven onto a MATn.1 pin, in a positive-logic manner (0 = low, 1 = high).

EM2

External Match 2. When a match occurs between the TC and MR2, this bit can either toggle, go low, go high, or do nothing, depending on bits 9:8 of this register. This bit can be driven onto a MATn.0 pin, in a positive-logic manner (0 = low, 1 = high).

EM3

External Match 3. When a match occurs between the TC and MR3, this bit can either toggle, go low, go high, or do nothing, depending on bits 11:10 of this register. This bit can be driven onto a MATn.0 pin, in a positive-logic manner (0 = low, 1 = high).

EMC0

External Match Control 0. Determines the functionality of External Match 0.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (MATn.m pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (MATn.m pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC1

External Match Control 1. Determines the functionality of External Match 1.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (MATn.m pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (MATn.m pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC2

External Match Control 2. Determines the functionality of External Match 2.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (MATn.m pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (MATn.m pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC3

External Match Control 3. Determines the functionality of External Match 3.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (MATn.m pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (MATn.m pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

Links

()